<?php

/* @var $factory \Illuminate\Database\Eloquent\Factory */

use App\Order;
use Faker\Generator as Faker;

$factory->define(Order::class, function (Faker $faker) {
    $createdAt = $faker->dateTimeBetween('-20 years');
    return [
        'uid' => random_int(1, 100000),
        'amount' => random_int(1, 10000),
        'created_at' => $createdAt,
        'updated_at' => $createdAt,
    ];
});
